package com.beeantec.jnrerc.modules.news.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.beeantec.jnrerc.core.api.dto.PagingReqDTO;
import com.beeantec.jnrerc.entity.News;

public interface NewsService extends IService<News> {

    /**
     * 分页查询数据
     * @param reqDTO
     * @return
     */
    IPage<News> paging(PagingReqDTO<News> reqDTO);

    News info(Long id);
}
